package com.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 分页查询存储类
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PageObject<T> {
    private Integer current = 1;
    private Integer size = 5;
    private Long total;
    private List<T> data;
}
